package praktikumid.w03.p2;

public class Car {
	public String make;
	public String model;
	public int maxSpeed;
	
	public static String name = "car";
	
	public void print() {
		System.out.println("make: " + make);
		System.out.println("model: " + model);
		System.out.println("max speed: " + maxSpeed);
	}
	
	@Override
	public String toString() {
		return "make: " + make + "\n" 
				+ "model: " + model + "\n" 
				+ "maxspeed:" + maxSpeed;
		
	}
}
